package com.jixi.pojo.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "教师表")
@TableName("teacher")
public class Teacher {

    @Schema(description = "教师序号")
    @TableId(value = "teacher_id")
    private Long teacherId;

    @Schema(description = "教师工号/账号")
    private String teacherUsername;

    @Schema(description = "教师账号密码")
    private String teacherPassword;

    @Schema(description = "教师名称")
    private String teacherName;

    @Schema(description = "联系电话")
    private String teacherPhone;

    @Schema(description = "头像")
    private String teacherImage;

    @Schema(description = "年龄")
    private Integer teacherAge;

    @Schema(description = "性别")
    private Integer teacherGender;

    @Schema(description = "邮箱")
    private String teacherEmail;

    @Schema(description = "学校序号")
    private Long schoolId;

    @Schema(description = "状态（0 禁用，1 启用）")
    private Integer status;

    @Schema(description = "是否删除（0未删除 1 删除）")
    private Integer isDeleted;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;


}

